package com.demo.domain.user.managers;

import com.demo.modules.user.po.UsersPO;
import com.demo.modules.user.vo.UserVO;

public class UserManager {
    private UserManager() {
    }

    public static UserVO convertToVO(UsersPO userPO) {
        UserVO userVO = UserVO.getInstance();
        userVO.setName(userPO.getName());
        userVO.setAccount(userPO.getAccount());
        userVO.setEmail(userPO.getEmail());
        return userVO;
    }
}
